/*
 * @Author: jlzm
 * @Date: 2020-04-21 09:43:08
 * @LastEditors: jlzm
 * @LastEditTime: 2020-06-28 17:57:55
 * @FilePath: \MPShop\mixins\coupon\coupon.js
 */
export default {
    methods: {
        getCouponType(couponType) {
            switch (couponType) {
                case "20":
                    return "price";

                case "30":
                    return "amount";

                default:
                    break;
            }
        },
    }
};